ImageGear Professional v18.2 > User Guide > Using ImageGear > Images and Documents > Single-Page Images |
The central element in ImageGear API is the single-page image handle: HIGEAR. The majority of ImageGear API functions take HIGEAR as a parameter. HIGEAR encapsulates the following data:
Usually you create a HIGEAR handle by loading an image from a disk file, or from memory. See Loading Images for details. You can also create a new HIGEAR handle using IG_image_create, or import a Windows DIB into HIGEAR using IG_image_DIB_import.
When HIGEAR is no longer used, you must delete it using IG_image_delete.
A HIGEAR can contain raster data or vector data, but not both (except for the case when vector data contains raster entities; however, such raster data is only accessible via the vector API). Vector images are further subdivided into CAD, PDF, and XPS. Use IG_image_is_raster, IG_image_is_vector, IG_image_is_CAD, IG_image_is_PDF, and IG_image_is_XPS to find out the type of image represented by a HIGEAR.